package com.syzygy.service;

import com.syzygy.pojo.User;

import java.util.Map;

public interface UserService {
    User getUserByUserId(int userId);

    int createUser(String username,
                   String password,
                   String nickname,
                   int phone,
                   String headSculptureId,
                   String headSculptureDocumentName,
                   String personalIntroduction);

    User getUserByUserUsernameAndPassword(String username, String password);

    int editUser(String username, String password, String nickname, int phone, String headSculptureId, String headSculptureNewDocumentName, String personalIntroduction, int userId);
}
